<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<title>少儿英语</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="target-densitydpi=device-dpi, width=640, user-scalable=no"/>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="favicon.ico" rel="shortcut icon"/>
<link href="/css/reset.css" rel="stylesheet"/>
<script src="/js/jQuery.js"></script>
<script src="/js/jquery.easing.1.3.js"></script>
<link href="/css/0515.css" rel="stylesheet"/>
<!--[if IE 6]>
	<script src="/js/IE6PNG.js"></script>
	<script type="text/javascript">
		IE6PNG.fix('.png');
	</script>
<![endif]-->
<style>
html,body{
	position: relative;
}
</style>
</head>

<body style="background:#fffcd5">
<div class="w720">
	<div class="pic21"><img src="/images/20.jpg"/></div>
    <table width="94%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto; background:#b16c9a">
      <tr>
        <td height="60" align="center" style="color:#FFF; font-size:28px" th:text="${homework.name}"></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" height="14"></td>
      </tr>
    </table>
    <table width="94%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
      <tr>
        <td width="30%" align="center" valign="top" style="padding-top:10px; line-height:40px;"><img th:src="${student.picture}"/><br th:text="${student.name}">张三</br></td>
        <td style="padding:10px; line-height:40px;"></td>
      </tr>
    </table>
    <table width="94%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
      <tr>
        <td width="10%" align="center" height="60"><img src="/images/bianji1.jpg"/></td>
        <td style="font-size:30px; color:#333;" th:text="${homework.name}"></td>
      </tr>
      <tr>
        <td></td>
        <td style=" padding:10px 0; line-height:40px; color:#666;">任课老师：<a th:text="${homework.course.teacher.name}"/><br/>发布时间：<a th:text="${homework.date}"/><br/><a th:text="${homework.information}"></a></td>
      </tr>
    </table>
    <table width="94%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
      <tr>
        <td width="10%" align="center" height="60">
            <img src="/images/bianji2.jpg"/></td>
        <td style="font-size:30px; color:#333;">课后作业</td>
      </tr>
    </table>
    <table width="94%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
        <form name="uploadForm" method="POST" enctype="MULTIPART/FORM-DATA" th:action="@{'/homework/save/'+${homework.Id}+'/'+${student.id}}">
            <table>
                <tr>
                    <td height="80" align="center"><div align="center">文件地址:</div></td>
                    <td height="80" align="center"><input type="file" name="filedata" size="30"/> </td>
                </tr>
                <tr>
                    <td height="80" align="center"><input type="submit" style="width:300px; height:50px; line-height:50px; background:#903e84; color:#fff; font-size:24px; text-align:center; border:none;" name="submit" value="上传"/></td>
                    <td height="80" align="center"><input type="reset" style="width:300px; height:50px; line-height:50px; background:#903e84; color:#fff; font-size:24px; text-align:center; border:none;" name="reset" value="重置"/></td>
                </tr>
            </table>
        </form>
    </table>
</div>

</body>
</html>
